//
//  AudioToolBar.h
//  StupidFM
//
//  Created by 寒竹子 on 15/5/28.
//  Copyright (c) 2015年 寒竹子. All rights reserved.
//  封装音频播放迷你条

#import <UIKit/UIKit.h>

// 暂停/播放 协议
@protocol AudioToolBarDelegate <NSObject>

// 根据播放状态
- (void)playAudioWithButtonState:(BOOL)isPlaying;

@end

@interface AudioToolBar : UIImageView

@property (nonatomic, weak) id<AudioToolBarDelegate> delegate;

// 单例
+ (instancetype)sharedAudioToolBarWithFrame:(CGRect)frame;

@end
